home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-03-05 | 5.8 KB | 131 lines | [TEXT/MACA] |
- (The following lines of text are considered comments by Red Ryder, so they )
- (will not be compiled into the MultiLoad Procedure.)
- ( )
- (A little explanation follows showing you how to make this procedure work )
- for your particular set up.)
- ( )
- (This procedure file will work from any of the menus on GEnie where you have )
- (to pick a number to download, upload, list directory, etc. For example the )
- (Main menu in CMUG, FreeSoft, MacPro, etc. I have personally tested this )
- (procedure on the above GEnie User menus, and it works for every one. The )
- (procedure will download XMODEM or Plain 7 bit text files, it will know how )
- (to do either one. A "fake" file name is made up for every file it will )
- (download, so as to have a name to save the files on your disk. Don't )
- (worry, all XMODEM files are renamed to their original names by Red Ryder, )
- (unless they are XMODEM TEXT files, if possible. The "fake" names work like )
- (this: The first file downloaded will be called "1File", the second one )
- (will be called "2File", etc., without the quotes. Original huh? The )
- (number in front of the word "File", will be incremented by one, every time )
- (this procedure downloads a new file. This will insure that each file has a )
- (unique name. The only time that these file names will actually be used, is )
- (when you get a TEXT file, be it XMODEM or 7 bit. ALL 7 bit files are )
- (considered TEXT files by the Mac, and will be named one of the "fake" file )
- (names. You'll have to sort them out by yourself as to what they contain or )
- (what they should be named, after you get them all downloaded.)
- ( )
- (Now to the meat of how to get this procedure to work for you.)
- ( )
- (First, you need to create a plain TEXT file that will contain the program )
- (NUMBERS that you want this procedure to download for you. Example: )
- ( 792 <CR> )
- ( 794 <CR> )
- ( 113 <CR> )
- ( etc. )
- ( )
- (Of course all these numbers should be on a line by them selves, with no )
- (spaces, parenthesis, or blank lines in between the numbers. Each number )
- (MUST end with a carriage return. Now at the very last line of text in this )
- (file of numbers, you need to put the word - "DONE" with NO quotes and the )
- (word MUST be in capital letters. This word, "DONE" MUST follow the numbers )
- (just as if it were a number itself. The word "DONE" must also be followed )
- (by a carriage return. Save this plain TEXT file anywhere on your disk, and )
- (with any name you choose. Now all that we have left to do is change one )
- (pathname, and your ready to go. This procedure, by the way, should be )
- (executed only when you are at a MUG Main menu, and it will type 6 for )
- (download, then go into its loop of downloading file numbers from the TEXT )
- (file, until it reaches the word "DONE". It will then navigate back to the )
- (MUG Main menu and then type "BYE", and you will be logged of of the GEnie )
- (network. If you don't want it to log you off the GEnie network, you will )
- (have get rid of the line that say: "TYPE BYE^M", in this procedure, before )
- (you compile it. Now as for the Pathname that must be changed. The line )
- (that reads: "USEROPENI 1,HD-20:Log - ons:Down Files" below, must have the )
- (pathname changed to the pathname of your disk, and the name of the TEXT )
- (file that you saved the download numbers. Any folders that your TEXT file )
- (is in will also have to be listed as part of the pathname if you are using )
- (HFS, which MOST people are using by now surely.)
- ( )
- (That's about all there is to it except for actually compiling this file. A )
- (little note of interest, I just have a macro key so I can log on to any of )
- (my favorite mugs, and then have a macro set up with the name of this )
- (procedure, then I just have to click on two keys to get on GEnie and start )
- (getting files. I also have macros set up that will log me on straight to a )
- (MUG, then call this procedure to start getting files. What ever way you )
- (want to do it, just make sure that you are at the MUG Main menu before this )
- (procedure starts to execute.)
- ( )
- (If you have any comments or questions about this procedure, leave me mail )
- (on GEnie under the address: S.BUCHEN I will try to help in any way I can!)
- ( )
- (Now, on to the procedure!)
- USERCLOSE 1
- (The following pathname must be changed to your particular disk & file name.)
- USEROPENI 1,HD-20:Log - ons:Down Files
- ERASE A$
- LET EQUAL A%,0
- ERASE B$
- USERREAD 1,A$
- TYPE 6^M
- JUMPTO START
- :ANOTHER
- TYPE Y^M
- :START
- PROMPT file?
- PAUSE 20
- TYPE A$
- TYPE ^M
- PROMPT <D>ownload
- PAUSE
- TYPE D^M
- ALERT1 Capture File **/JUMPTO GETTEXT
- PROMPT receive file.
- GOSUB DONAME
- PAUSE
- RECX B$
- PROMPT <RETURN>?
- PAUSE 20
- TYPE ^M
- :MORE
- PROMPT file (Y/N)?
- PAUSE 20
- USERREAD 1,A$
- CONTAINS A$,DONE
- IF NO JUMPTO ANOTHER
- TYPE N^M
- PROMPT <H>elp?
- PAUSE 20
- (The following line must be deleted if you don't want logged off GEnie after )
- (the downloads are completed.)
- TYPE BYE^M
- END
- :GETTEXT
- GOSUB DONAME
- PAUSE 120
- RECA B$
- TYPE ^M
- (The reason for the following 2 prompts right in a row like this, is so that )
- (the text file that was being downloaded would not accidently be closed. I )
- (didn't want to have a freak line from the text being downloaded to just so )
- (happen to be close to the one GEnie puts out to let you know to close your )
- (capture file. Don't worry though, because this DOES work like it's )
- (supposed to, and DOES close the file when GEnie actually wants it to.)
- PROMPT Download complete.
- PROMPT rn off Capture File.
- CLOSE
- JUMPTO MORE
- (These lines make the "1File", "2File", etc...)
- :DONAME
- ADD A%,1
- NUMTOSTRING A%,B$
- CONCAT B$,File
- RETURN
-